<?php

class Users extends CI_Model
{
    public function test()
    {
       return array(4, 8, 15, 16, 23, 42);
    }
    
    public function getUserEmails()
    {
       return $this->db->get('users');
    }
    
    public function getName($name)
    {
       return substr($name, 0, -5);
    }
}